#!python
#
# Pyste file for osg::SFVec3T (for various values of T).

import Settings
Import("Field.pyste")

SField = Template('osg::SField', 'OpenSG/OSGSFVecTypes.h')

for type in Settings.SF_MF_Vec_Types:
   name = 'Vec3%s' % type
   c = SField('osg::' + name)
   final(c)
   rename(c, 'SF' + name)
   set_policy(c.getType, return_internal_reference(1))
   set_policy(c.getContentType, return_internal_reference(1))
   set_policy(c.getValueByStr, return_internal_reference(1))
   set_policy(c.getValue, return_internal_reference(1))
   exclude(c.syncWith)
   exclude(c.copyToBin)
   exclude(c.copyFromBin)
   exclude(c.getValue)
